{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "你的成绩等级是:\n",
      "A\n"
     ]
    }
   ],
   "source": [
    "x=int(input('请输入你的成绩:'))\n",
    "print('你的成绩等级是:')\n",
    "if(x>=70 and x<80):\n",
    "    print('C')\n",
    "if(x>=80 and x<90):\n",
    "    print('B')\n",
    "if(x>=60 and x<70):\n",
    "    print('D')\n",
    "if(x<60):\n",
    "    print('E')\n",
    "if(x>90):\n",
    "    print('A')"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
